package com.choichumgming.rentcat.mapper;

import com.choichumgming.rentcat.model.AmsComment;
import com.choichumgming.rentcat.model.AmsCommentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AmsCommentMapper {
    long countByExample(AmsCommentExample example);

    int deleteByExample(AmsCommentExample example);

    int deleteByPrimaryKey(Long commentId);

    int insert(AmsComment record);

    int insertSelective(AmsComment record);

    List<AmsComment> selectByExample(AmsCommentExample example);

    AmsComment selectByPrimaryKey(Long commentId);

    int updateByExampleSelective(@Param("record") AmsComment record, @Param("example") AmsCommentExample example);

    int updateByExample(@Param("record") AmsComment record, @Param("example") AmsCommentExample example);

    int updateByPrimaryKeySelective(AmsComment record);

    int updateByPrimaryKey(AmsComment record);
}